<?php
class Controller_Index extends Show_Controller
{
    public function index()
    {
        echo 'hello world';
        
        Show_Db_Handle::create('mysqli', Show_App::config()->db, 'test');
        
        $post = new Model_Post();
        $post->setTitle('test');
        $post->setContent('test\'.' . time());
        if ($post->save()) {
            echo 'save ok';
        } else {
            echo 'save failed';
        }
    }
}
?>